home *** CD-ROM | disk | FTP | other *** search
-
-
- .BAT files can be NESTED in DOS 2.0 enviroment!
-
- Yes, bat files can be nested in DOS 2.0. Just look up your DOS 2.0 manual
- 10-9. The method is a bit obscure, however. It involve the COMMAND /C Arg.
-
- Example:
-
- test.bat
- --------
- echo off
- masm %1,,,,
- COMMAND /C pascal %2 <- Call the sub-batch file via command /c arg.
- echo off <- Upon re-enter, echo will be on, reguardless!
- edit
-
- Pascal.bat
- ----------
- . put in your PASCAL diskettes...
- pause
- pas1 %1
- pas2
- link %1,,,
- . put in your original diskettes...
- pause
- EXIT <-This is very important. Upon exitting the batch file
- you have to get out via EXIT.
-
-
-
- NOTE: Each Level of nesting will take a minimum of 3K!
-
- Good luck, hope you have fun!
-
- Peter Chow 11/13/83
- idea from Tech Journal,Nov
-
-
- sting will take a minimum of 3K!
-
- Good luck, h